﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Products.aspx.cs" Inherits="Products" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <style>
        .arrange 
        {
        	
        	float:left;
        	width: 500px;
        	height: 768px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server"> 
    <%--Table of Controls--%>
        <div class="arrange" > 
            <table>
                <tr>
                    <th>
                    Product ID:
                    </th>
                    <td>
                        <asp:TextBox ID="txtID" runat="server">
                        </asp:TextBox>
                    </td>
                </tr>
                
                <tr>
                    <th>
                        Product's Name:
                    </th>
                    <td>
                        <asp:TextBox ID="txtProductName" runat=server>
                        </asp:TextBox>
                    </td>
                </tr>
                
                <tr>
                    <th>
                        Supplier's Name:
                    </th>
                    <td>
                        <asp:DropDownList ID="ddlSupplier" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                
                <tr>
                    <th>
                        Category:
                    </th>
                    <td>
                        <asp:DropDownList ID="ddlCategory" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                
                <tr>
                    <th>
                        Unit Price:
                    </th>
                    <td>
                        <asp:TextBox ID="txtPrice" runat="server">
                        </asp:TextBox>
                    </td>
                </tr>
                
                <tr>
                    <th>
                        Discontinued:
                    </th>
                    <td>
                        <asp:CheckBox ID="chkDiscontinued" runat="server"/>
                        
                    </td>
                </tr>
                
            </table>
            
            <table>
            <tr>
                <td>
                    <asp:Button ID="btnNew" runat="server" Text="New" />
                </td>
                <td>
                    <asp:Button ID="btnAdd" runat=server Text="Add"/>
                </td>
            </tr>
            
            <tr>
                <td>
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" />
                </td>
                <td>
                    <asp:Button ID="btnDelete" runat=server Text="Delete"/>
                </td>
            </tr>
        </table>
        </div>
  
        
    <%--gridview--%>
        <div class="arrange" > 
           <table >
               
                
                <tr>
                    <th>
                        Filter By:
                    </th>
                    <td >
                        <asp:DropDownList ID="ddlFilter" runat="server">
                        </asp:DropDownList>
                         <asp:DropDownList ID="ddlFilterValue" runat="server">
                        </asp:DropDownList>
                    </td>
                   
                       
                   
               
                </tr>
                <tr>
                    <th>
                        Search:
                    </th>
                    <td>
                        <asp:TextBox ID="txtSearch" runat="server">
                        </asp:TextBox>
                    </td>
                </tr>
          
            </table>
           <table>
          
           
                <asp:GridView ID="gvProducts" runat="server" 
                    onpageindexchanging="gvProducts_PageIndexChanging" >
                </asp:GridView>
             </table>
             
        </div>
    </form>
</body>
</html>
